---
id: RabbitMQClient
title: RabbitMQClient
sidebar_label: 7.4、RabbitMQClient
---


### （一）设备配置

| 属性           |  说明                    | 默认值/备注|
| ---------------| --------------------------| ---|
| 账号         | 登录账号              | guest|
| 密码         | 登录密码              | guest|
| IP         | 连接IP              | 127.0.0.1|
| 端口         | 连接端口              | 5672|
| 虚拟Host         |               | / |
|路由名称 |      |TG|
|变量队列名称|   |ThingsGateway/Variable|
|设备队列名称|  |ThingsGateway/Device|
|是否发布List|  |False|
|是否声明队列|  |False|


变量Json：
```

[
    {
        "deviceName": "ModbusTest",
        "rawValue": "12345",
        "value": "12345",
        "changeTime": "2023-03-08T08:42:36.1979048+08:00",
        "collectTime": "2023-03-08T08:46:39.3070467+08:00",
        "quality": 192,
        "readExpressions": null,
        "writeExpressions": null,
        "intervalTime": 1000,
        "otherMethod": null,
        "variableAddress": "40001",
        "name": "test40001",
        "description": null,
        "initialValue": null,
        "protectTypeEnum": 1,
        "dataTypeEnum": 7
    }
]
```
设备Json:
```
[
    {
        "pluginName": "ThingsGateway.Modbus.ModbusTcp",
        "deviceVariablesNum": 1,
        "activeTime": "2023-03-08T08:46:39.2708927+08:00",
        "deviceStatus": 1,
        "deviceOffMsg": "",
        "name": "ModbusTest",
        "description": null,
        "enable": true,
        "createTime": "2023-03-06T17:31:23.0562652",
        "updateTime": "0001-01-01T00:00:00"
    }
]

```

### （二）变量配置
无